Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support React 18 #108

Merged
merged 7 commits into from
Aug 8, 2022
Merged

Support React 18 #108

merged 7 commits into from
Aug 8, 2022

Conversation

gpoitch
Copy link
Collaborator

@gpoitch gpoitch commented Aug 2, 2022

Adds support for using React 18 without affecting use with older versions.
Users can now pass ReactDOM v18 as a prop on the Container to correct deprecation warnings.

It was not possible to automatically support this internally since ReactDOM import paths are different between versions, there was no way to do this without bundler and/or runtime warnings.

The demo is updated to use React 18 and tests are now run in both React 17 & 18.

@gpoitch gpoitch marked this pull request as ready for review August 3, 2022 14:34
@gpoitch gpoitch merged commit cb34a1f into master Aug 8, 2022
@gpoitch gpoitch deleted the gp/react-18 branch August 8, 2022 13:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant